package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.ApartmentInfo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentDetailVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentItemVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentQueryVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentSubmitVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author xiongkunYang
 * @description 针对表【apartment_info(公寓信息表)】的数据库操作Service
 * @createDate 2025-04-19 22:27:34
 */
public interface ApartmentInfoService extends IService<ApartmentInfo> {

    Boolean saveOrUpdateApartmentSubmit(ApartmentSubmitVo apartmentSubmitVo);

    IPage<ApartmentItemVo> apartmentItemPageByQuery(long current, long size, ApartmentQueryVo queryVo);

    ApartmentDetailVo getApartmentDetailById(Long id);

    Boolean removeApartmentInfoById(Long id);
}
